package com.javatian.dao;

import com.javatian.entity.RichtextInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 新能源汽车详细信息Dao
 */
@Repository
public interface RichtextInfoDao extends Mapper<RichtextInfo> {

    /**
     * 根据名称查询
     */
    List<RichtextInfo> findByName(@Param("name")String name);
}
